{% extends "/based/based.html" %}
{% block content %}
	<?xml version="1.0" standalone="no"?>
	<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" 
	"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
	<main class="page-content">
	<form method="POST" name = "memo">
	<style>
	.volvo{color: grey;}
	.saab{color: red;}
	.txt_area{color:black;}
	</style>

	 <table align="center" border="0" style="width: 80%; ">
		<tbody>
			<tr>
				<td >
				<div align="center" style="text-align:center" id="fourth" class="buttonBox" type="submit" value = "select"/> 
				  <button name='submit_button' value='select'>选择</button>
				  <div class="border"></div>
				  <div class="border"></div>
				  <div class="border"></div>
				  <div class="border"></div>
				</div> 
				</td>
				<td>板块
				<select id="blks" size=5 name="blks" multiple="multiple" class="volvo" style="vertical-align: middle;">	
						  <option>{{select_blks}}</option>
						  <option>-------- </option> 
						  <option>all </option> 
						 {%for i in range(0,blks|length) %} 
			        	 	 <option>{{blks[i]}}</option> 
			        	  {% endfor %} 
			        	 
					</select>
				
				
				
				
				</td>
				<td>前x周
					<select id="pre_weeks" size=5 name="pre_weeks" class="volvo" style="vertical-align: middle;">	
						  <option>{{select_pre_weeks}}</option>
						  <option>-------- </option> 
						  <option>24</option>
						  <option>20</option>
						  <option selected>16</option>
						  <option>12</option>
						  <option>4</option>
						  <option>1</option>
			        	 
					</select>
				</td>
				
				
				<td>观察
					<select id="obs" size=5 name="obs" class="volvo" style="vertical-align: middle;">	
						  <option>{{select_obs}}</option>
						  <option>-------- </option> 
						  <option selected>成交量</option>
						  <option>持仓量</option>
						  <option>比前日收盘</option>
					</select>
				</td>
				<td>
				同起点:<br>
				<input name="isAllCloseStartZero" type="radio" value="no" checked />否 
			    <input name="isAllCloseStartZero" type="radio" value="yes" />同起点
				<br>
			    <br>
				所有/仅期权:<br>
				<input name="isQQ" type="radio" value=""  />所有商品 
			    <input name="isQQ" type="radio" value="Q" checked/>仅含期权的商品
				<br>
				</td>
			</tr>
			</tbody>
		</table>
		<br>
	<table align="center" border="0" width="90%">
    <tbody>
        <tr>
        <td>
	
		
			{{div2|safe }}
		</td>
        <td>
			{{div1|safe }}
		
        </td>
        </tr>
     	<tr>
        <td>
	
		
			{{div3_c|safe }}
		</td>
        <td>
			{{div3_p|safe }}
		
        </td>
        </tr>
    </tbody>   
    </table> 
    <br>
  
  <table align="center" border="0" width="90%">
    <tbody>
        <tr>
        <td>{{div4|safe }}
    
           </td>
        </tr>
    </tbody>   
    </table>        
		 </form>
	
	
	<div align="center"><span style="font-size: x-large;"><span style="text-decoration: underline;"></span></span></div>
{% endblock %}